const express = require('express')
const app = express()
const path = require('path')

app.get('/',(req,res)=>{
    res.sendFile(path.join(__dirname,'./light.html'))
})
app.get('/heihei',(req,res)=>{
    res.sendFile(path.join(__dirname,'./index.html'))
})
app.use('/css',express.static('./css'))
app.use('/js',express.static('./js'))
app.use('/lib',express.static('./lib'))
app.use('/media',express.static('./media'))

app.listen(80,'0.0.0.0',()=>{
    console.log('server running at 80 port ')
})